<h1>All Issues</h1>

<table>
  <tr>
    <th>Project</th>
    <th>Issue</th>
    <th>Summary</th>
    <th>Details</th>
    <th>Submitter</th>
  </tr>

<% for issue in @issues %>
  <tr>
    <td><%=h issue.project.name %></td>
    <td>#<%=h issue.local_id %></td>
    <td><%=h issue.summary %></td>
    <td><%=h issue.details %></td>
    <td><%= link_to issue.submitter.display, issue.submitter %></td>
    <td><%= link_to 'Show', issue_path( issue.project.name, issue.local_id ) %></td>
    <td><%= link_to 'Edit', edit_issue_path( issue.project.name, issue.local_id ) %></td>
  </tr>
<% end %>
</table>
